package org.ko.command.demo1;

/**
 * 命令接受类
 */
public class CourseVideo {

    private String name;

    public CourseVideo(String name) {
        this.name = name;
    }

    public void open () {
        System.out.println(this.name + "课程视频开放。");
    }

    public void close () {
        System.out.println(this.name + "课程视频关闭。");
    }
}
